// mock开关
const mockEnable = import.meta.env.VITE_MOCK_ENABLE === 'true'

if (mockEnable) {
  // 引入mock模块
  import('./modules/user.js')
    .then(() => {
      console.log('Mock modules loaded successfully')
    })
    .catch(error => {
      console.error('Failed to load mock modules:', error)
    })
}